import request from '@/utils/request'

// 查询教师工作教育经历列表
export function listTeacher_studywork(query) {
  return request({
    url: '/archives/teacher_studywork/list',
    method: 'get',
    params: query
  })
}

// 查询教师工作教育经历详细
export function getTeacher_studywork(id) {
  return request({
    url: '/archives/teacher_studywork/' + id,
    method: 'get'
  })
}

// 新增教师工作教育经历
export function addTeacher_studywork(data) {
  return request({
    url: '/archives/teacher_studywork',
    method: 'post',
    data: data
  })
}

// 修改教师工作教育经历
export function updateTeacher_studywork(data) {
  return request({
    url: '/archives/teacher_studywork',
    method: 'put',
    data: data
  })
}

// 删除教师工作教育经历
export function delTeacher_studywork(id) {
  return request({
    url: '/archives/teacher_studywork/' + id,
    method: 'delete'
  })
}
